export default function useAnimationFrame (callback: () => void) {
  callback()
  requestAnimationFrame(() => useAnimationFrame(callback));
}